﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Models
{
    /// <summary>
    /// 工作流子节点状态类
    /// </summary>
    [Serializable]
    public class WorkflowChildStatus
    {
        /// <summary>
        /// 子节点Id
        /// </summary>
        public int WorkChildId { get; set; }
        /// <summary>
        /// 工作流Id
        /// </summary>
        public int WorkParentId { get; set; }
        /// <summary>
        /// 工作流节点序号
        /// </summary>
        public int NodeNo { get; set; }
        /// <summary>
        /// 是否有多个子节点
        /// </summary>
        public int IsSingleNode{ get; set; }
        /// <summary>
        /// 子节点序号
        /// </summary>
        public int ChildNodeNo { get; set; }
        /// <summary>
        /// 节点关键用户团队Id
        /// </summary>
        public int TeamId { get; set; }
        /// <summary>
        /// 节点关键用户角色Id
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 工作流子节点状态序号
        /// </summary>
        public int StatusNo { get; set; }
        /// <summary>
        /// 最后更改时间
        /// </summary>
        public DateTime LastChangeTime { get; set; }
        /// <summary>
        /// 节点关键用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 节点名
        /// </summary>
        public string NodeName { get; set; }
        /// <summary>
        /// 模板主表id
        /// </summary>
        public int WorkMouldId { get; set; }
        /// <summary>
        /// 是否已读
        /// </summary>
        public int IsRead { get; set; }
        /// <summary>
        /// 退回原因
        /// </summary>
        public string ReturnReason { get; set; }

        //扩展属性
        /// <summary>
        /// 显示名
        /// </summary>
        public string DisplayName { get; set; }
    }
}
